﻿package net.pezzato.graphics{
	import flash.text.TextField;
	import fl.controls.TextInput;
	import flash.text.TextFormat;
	import net.pezzato.graphics.Widget;
	public class TextInputLabel extends TextField {
		public function TextInputLabel(text:String, ti:TextInput) {
			this.defaultTextFormat = Widget.defaultTf;
			this.autoSize = "right";
			this.text = text;
			this.selectable = false;
			this.x = ti.x - this.width - 5;
			this.y = ti.y;
		}
	}
}